<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>switch</title>
		<script type="text/javascript">
			
			let lop = prompt("请输入：");
			let lep = parseInt(lop);
			switch(lep){
				case 1:
					console.log("1");
					break;
				case 2:
					console.log("1");
					break;
				case 3:
					console.log("1");
					break;
				case 4:
					console.log("1");
					break;
				default:
					console.log("default");
			}
		</script>
	</head>
	<body>
	</body>
</html>